7 a. What is pairwise sequence alignment, and why is it important in bioinformatics? 

Answer: Pairwise sequence alignment is the process of comparing two sequences (such as DNA, RNA, or 
protein) to identify regions of similarity. This process is important for a variety of reasons in bioinformatics, 
including: 

1. Identifying conserved regions: It helps identify conserved sequences across species, which can 
indicate important functional or structural regions of genes or proteins. 

2. Evolutionary analysis: Alignments are used to infer evolutionary relationships by examining the 
similarities and differences between sequences. 

3. Mutation analysis: Pairwise alignment can highlight mutations or differences in sequences, 
which can be useful for understanding genetic diseases or variations. 

4. Functional predictions: Alignment allows for the prediction of protein function based on 
sequence homology. 

Pairwise alignment uses scoring schemes to penalize gaps and mismatches, rewarding matches between 
corresponding nucleotides or amino acids in the two sequences.
